package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 你的名字
 * @Date: 2021/07/13/21:15
 * @Description:
 */
@Controller
public class viewController {
    @RequestMapping("/{page}.html")
    public String toPage(@PathVariable String page){
        return page;
    }
}
